package com.usian.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.usian.mapper.CourseMapper;
import com.usian.mapper.StudentMapper;
import com.usian.pojos.Course;
import com.usian.pojos.Student;
import com.usian.service.CourseService;
import com.usian.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
@Service
public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> implements CourseService {
    @Autowired
   CourseMapper courseMapper;

    @Override
    public void saveList(ArrayList<Course> courses) {
        courseMapper.saveList(courses);
    }
}
